package com.kai.service;

import com.kai.dto.CommentDTO;
import com.kai.dto.CourierPickUpDTO;
import com.kai.dto.ExpressOrderQueryDTO;
import com.kai.result.PageResult;

public interface CourierService {

    PageResult queryAllOrders(ExpressOrderQueryDTO expressOrderQueryDTO);

    void acceptOrder(CourierPickUpDTO courierPickUpDTO);

    PageResult queryAllAcceptedOrders(ExpressOrderQueryDTO expressOrderQueryDTO);

    void pickUp(CourierPickUpDTO courierPickUpDTO);

    void deliver(CourierPickUpDTO courierPickUpDTO);

    Long getStatus(Long courierId);

    void comment(CommentDTO commentDTO);
}
